﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAccess.aspx.cs" Inherits="WebApplication.UserAccess" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Welcome to FRL</title>
	<link href="Styles/StyleSheet.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
	.headingBar
	{
		margin:auto; 
		width:1024px;
	}
	.footerBar
	{
		margin:auto; 
		width:1024px;
	}
	</style>
</head>

<body>
    <form id="form1" runat="server">

	<!-- Heading Bar -->
	<asp:Panel runat="server" ID="pnlHeading" CssClass="headingBar">
		<table cellpadding="0" align="center" cellspacing="0" style="width:100%; padding-top:0px; height: 146px;">
			<tr>
				<td style="padding-left:10px;"><asp:Image ID="Image1" runat="server" 
						ImageUrl="~/Images/dclogobox.gif" /></td>
			</tr>
		</table>
	</asp:Panel>

	<!-- Error Bar -->
	<asp:Panel runat="server" ID="pnlError" Visible="false" >
	<div style="margin:auto; width:1024px;">
		<table cellpadding="0" align="center" cellspacing="0" style="width:100%; padding-top:0px;">
			<tr>
				<td align="center" class="ErrorTextOnRed" style="padding:10px; background-color:Red;">
					<asp:Literal ID="ltErrorMsg" runat="server"></asp:Literal>
				</td>
			</tr>
		</table>
		</div>
	</asp:Panel>

	<!-- Log on and Silverlight -->
	<div style="margin:auto; width:1024px; height:380px; margin-top:80px; overflow:visible;">

		<!-- Silverlight download -->
		<div id="silverlightControlHost" style="text-align:center; float:left; padding-left:100px;">
			<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="350" height="250">
			  <param name="source" value="ClientBin/PlugInCheck.xap"/>
			  <param name="onError" value="onSilverlightError" />
			  <param name="background" value="white" />
			  <param name="minRuntimeVersion" value="4.0.50826.0" />
			  <param name="autoUpgrade" value="true" />
			  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50917.0" style="text-decoration:none">
 				  <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
			  </a>
			</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
		</div>

		<!-- Log onto the system -->
		<div style="width:300px; text-align:center; float:right; padding-right:100px;">
			<fieldset>
			<legend class="BigLegend">Enter DebtChased.com</legend>
			<br />
			<p>Customers can log on to DebtChased.com by entering their username and password into the boxes below.  Contact your administrator if you have any problems accessing the system.</p>
			<br />
			<table id="tbLogin" class="DataTable" align="center" >
				<tr>
					<td>Username:</td>
					<td><asp:TextBox ID="txtUsername" runat="server" TextMode="SingleLine"></asp:TextBox></td>
				</tr>
				<tr>
					<td>Password:</td>
					<td><asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox></td>
				</tr>
				<tr>
					<td></td><td align="left"><asp:Button ID="butLogon" runat="server" Text="Logon" onclick="butLogon_Click" /></td>
				</tr>
			</table>
			<br />
			</fieldset>
		</div>

	</div>

	<!-- Home page -->
	<div style="width:1024px; text-align:center; padding-bottom:20px; padding-top:20px; margin:auto;">
		<br />
		<asp:HyperLink CssClass="BaselineLinkStyle" ID="hypHomePage" runat="server" NavigateUrl="~/Default.aspx">Return to the DebtChased Home Page</asp:HyperLink>
		<br />
	</div>

	<!-- Footer Bar -->
	<asp:Panel runat="server" ID="pnlFooter" CssClass="footerBar">
		<table cellpadding="0" align="center" cellspacing="0" 
			style="width:100%; padding-top:0px; height: 46px;">
			<tr>
				<td align="center" style="padding-left:10px; font-family: Arial, Helvetica, sans-serif; color:White;" >Copyright Notice | Li<asp:LinkButton ID="lnkShortcut" runat="server" CssClass="WhiteHyperLink" onclick="lnkShortcut_Click">a</asp:LinkButton>bility Notice | Contact Us | <asp:LinkButton ID="lnkShortcut2" runat="server" CssClass="WhiteHyperLink" onclick="lnkShortcut2_Click">C</asp:LinkButton>ompany Profile</td>
			</tr>
		</table>
	</asp:Panel>
    
    </form>
</body>
</html>
